//
//  KZAlertView.h
//  听说弱点强化训练
//
//  Created by 朱凯 on 2018/8/31.
//  Copyright © 2018年 盛超. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface KZAlertView : UIView

/**
 展示
 @param title 标题
 @param subtitle 子标题，内容
 @param submitTypes 提交按钮样式：0普通，1阴影
 @param config 提交按钮配置
 @param click 点击回调
 @param indexs 可销毁视图的点击索引
 */
- (void)showWithTitle:(NSString *)title
             subtitle:(NSAttributedString *)subtitle
          submitTypes:(NSArray *)submitTypes
  submitButtonsConfig:(void(^)(NSArray<UIButton *> *buttons))config
                click:(void(^)(NSInteger index))click
  destroyAtClickIndex:(NSArray *)indexs;


- (void)showWithTitle:(NSString *)title
             subtitle:(NSAttributedString *)subtitle
         warningtitle:(NSString *)warningtitle
          submitTypes:(NSArray *)submitTypes
  submitButtonsConfig:(void(^)(NSArray<UIButton *> *buttons))config
                click:(void(^)(NSInteger index))click
  destroyAtClickIndex:(NSArray *)indexs;

- (void)hide;
@end
